home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 194_01 / def.h < prev    next >
Text File  |  1985-11-13  |  1KB  |  61 lines

  1. /* [DEF.H of JUGPDS Vol.17]
  2. *****************************************************************
  3. *                                *
  4. *    Written by  Hakuo Katayose (JUG-CP/M No.179)        *
  5. *            49-114 Kawauchi-Sanjuunin-machi        *
  6. *            Sendai, Miyagi 980                          *
  7. *            Phone: 0222-61-3219                *
  8. *                                *
  9. *    Edited & tested by Y. Monma (JUG-C/M Disk Editor)       * 
  10. *                                *
  11. *****************************************************************
  12. */
  13.  
  14. /* Table of Definitions for Software Tools */
  15.  
  16. #define MAXTOK        32
  17. #define MAXDEF         128
  18. #define MAXPAT           256
  19.  
  20. #define NPAT        '{'
  21. #define NPATEND        '}'
  22. #define AND        '&'
  23. #define ANY        '?'
  24. #define BOL        '%'
  25. #define EOL        '$'
  26. #define CCL        '['
  27. #define NCCL        'n'
  28. #define CCLEND        ']'
  29. #define CLOSURE        '*'
  30. #define CHAR        'a'
  31. #define DASH        '-'
  32. #define PLUS        '+'
  33. #define LETTER        'a'
  34. #define DIGIT        '0'
  35. #define NOT        '!'
  36. #define MINUS        '-'
  37. #define UPALLOW        '^'
  38. #define ESCAPE        '@'
  39.  
  40. #define    EOS        '\0'
  41. #define    BACKSPACE    0x08
  42. #define    TAB        0x09
  43. #define    NEWLINE        0x0A
  44. #define    FORMFEED    0x0C
  45. #define    CRETURN        0x0D
  46. #define    BLANK        ' '
  47.  
  48. #define DITTO        4
  49. #define BPAT        7
  50. #define EPAT        8
  51. #define SUBSTRG        9
  52.  
  53. #define ON        1
  54. #define OFF        0
  55.  
  56. #define COUNT        1
  57. #define PREVCL        2
  58. #define START        3
  59. #define CLOSIZE        4
  60.  
  61.